package com.system.appointment.service;

/**
 * @className: AppointmentStatus
 * @description: TODO 类描述
 * @author: Li Chuanwei
 * @date: 2023/12/11 17:28
 * @Company: Copyright [日期] by [作者或个人]
 **/

public class AppointmentStatus {
    public static String getStatusText(int statusNumber) {
        switch (statusNumber) {
            case 1:
                return "待付款";
            case 2:
                return "待就诊";
            case 3:
                return "就诊中";
            case 4:
                return "已就诊";
            case 5:
                return "已预约";
            case 6:
                return "已取号";
            case 7:
                return "已取消";
            case 8:
                return "已过号";
            case 9:
                return "已爽约";
            case 10:
                return "已退诊";
            case 11:
                return "已停诊";
            case 12:
                return "已退号";
            default:
                return "未知状态";
        }
    }
}

